package com.qf.hospital.vo;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author ASUS
 * @version V1.0
 * @Project hospital
 * @Package com.qf.hospital.vo
 * @Date 2021/10/19 15:20
 */
public class SysMenuVO {


    private Integer id;

    /**
     * 父节点id
     */
    @JsonProperty(value = "pid")
    private Integer parentId;

    /**
     * 标题
     */
    private String title;

    /**
     * 访问地址
     */
    private String href;

    /**
     * 0-不展开,1-展开
     */
    private Integer spread;

    /**
     * 图标
     */
    private String icon;

    /**
     * 0-不可用,1-可用
     */
    private Integer available;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Integer getSpread() {
        return spread;
    }

    public void setSpread(Integer spread) {
        this.spread = spread;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    public SysMenuVO(Integer id, Integer parentId, String title, String href, Integer spread, String icon, Integer available) {
        this.id = id;
        this.parentId = parentId;
        this.title = title;
        this.href = href;
        this.spread = spread;
        this.icon = icon;
        this.available = available;
    }

    public SysMenuVO() {
    }
}
